﻿#pragma once


// CCaptureDlg 对话框

class CCaptureDlg : public CDialogEx
{
	DECLARE_DYNAMIC(CCaptureDlg)

public:
	CCaptureDlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CCaptureDlg();

	// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_CAPTURE };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	void ReadConfigIni();
	void SaveValueToConfig();

	virtual BOOL OnInitDialog();
	virtual void OnCancel();
	afx_msg void OnBnClickedButton2();
	CComboBox m_comboImageSource;
	CComboBox m_comboTestMode;
	CComboBox m_comboCaptureMode;
	CComboBox m_comboChangeMode;
	BOOL m_bWriteiic;
	BOOL m_bMirrorX;
	BOOL m_bMirrorY;
	int m_nCTSId;
	BOOL m_nGpioFlag;
	CComboBox m_comboGpioNo;
	BOOL m_bFlag1;
	BOOL m_bScanX;
	BOOL m_bScanY;
	int m_nScanDis;
	int m_nThreshold;
	int m_nFilter;
	BOOL m_bFlag2;
	float m_dHigh;
	float m_dLow;
	afx_msg void OnBnClickedButton1();
	BOOL PassFlag;
	int PassX;
	int PassY;
	int PassW;
	int PassH;
	BOOL LightFlag;
	int LightX;
	int LightY;
	int LightW;
	int LightH;
	BOOL BeforePlasmaFlag;
	BOOL AfterPlasmaFlag;
	BOOL AfterGlueFlag;
	BOOL SaveOrgFlag;
	BOOL VersionFlag;
};
